package com.bbjob.job;

import javax.annotation.Resource;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.bbjob.service.ISystemService;

@Component
public class SysJob {

	@Resource
	private ISystemService systemService;
	
	/**
	 *
	 */
	@Scheduled(cron="0 0 0/3 * * ?")
	public void getMachineInfo() {
		
		systemService.checkUpgradeForExam();
	}
}
